package com.dmyang.dao;

import com.dmyang.entity.Patient;
import org.apache.ibatis.annotations.Param;

public interface PatientMapper {
    int deleteByPrimaryKey(String username);

    int insert(Patient record);

    int insertSelective(Patient record);

    Patient selectByPrimaryKey(String username);

    int updateByPrimaryKeySelective(Patient record);

    int updateByPrimaryKey(Patient record);

    Patient selectByUsernameAndPwd(@Param("patient") Patient patient);
}